﻿using ServiceCore.Entity.Const.Site;
using ServiceCore.Entity.Core;
using SqlSugar;
using System.Runtime.Serialization;

namespace ServiceCore.Entity.Model
{
    /// <summary>
    /// 
    /// </summary>
    [DataContract(IsReference = true)]
    [SugarTable("t_site")]
    public class SiteInfo : BaseEntity
    {
        /// <summary>
        /// 名称
        /// </summary>
        [DataMember]
        public System.String Name { get; set; } = "";

        /// <summary>
        /// 服务器类型
        /// </summary>
        [DataMember]
        public System.String ServicesType { get; set; } = nameof(SiteServiceType.SiteServiceType_Macao);

        /// <summary>
        /// 服务器类型
        /// </summary>
        [DataMember]
        [SugarColumn(IsIgnore = true)]
        public System.String ServicesTypeName { get; set; }

        /// <summary>
        /// 合计值
        /// </summary>
        [DataMember]
        [SugarColumn(IsIgnore = true)]
        public Decimal Total { get; set; }

    }
}
